<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>

    <!-- 基本样式 -->
    <link rel="stylesheet" href="../src/mixins/style/normalize.css" />
    <link rel="stylesheet" href="../src/com_third/font-awesome/css/font-awesome.css">
    <link rel="stylesheet" href="../src/mixins/style/base.css" />

    <!-- 当时项目公共样式 -->
    <link rel="stylesheet" href="src/common.css" />

    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="../src/lib/bootstrap.min.css" />

    <link rel="stylesheet" href="http://kindeditor.net/ke4/themes/default/default.css">


    <script src="../src/lib/jquery.js"></script>
    <script src="../src/lib/sea-all.js"></script>
    <script src="../src/lib/vue.js"></script>
    <script src="../src/lib/vue-router.js"></script>
    <script src="../boot.js"></script>



    <script src="http://kindeditor.net/ke4/kindeditor-min.js"></script>
    <script src="http://kindeditor.net/ke4/lang/zh-CN.js"></script>

    <!-- 引入样式 -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <!-- 引入组件库 -->
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>

    <style>
        html,
        body {
            margin: 0 auto;
            padding: 0;
            width: 1220px;
            /* overflow: hidden; */
        }

        .body-inner {
            height: 100%;
        }

        .card_each {

            margin-top: 10px;
        }

        .kindeditor_wrap {
            width: 940px;
            height: 470px;
            /* visibility: hidden; */
            float: left;
            background-color: lightblue;

        }

        .kindeditor_textarea {
            width: 940px;
            height: 470px;
            /* visibility: hidden; */
        }

        .pic_wrap {
            width: 250px;
            height: 440px;
            float: right;
            /* display: none; */
        }

        .img_each_contaner_wrap {
            width: 250px;
            height: 470px;
            overflow: hidden;
        }

        .img_each_contaner {
            overflow: hidden;
            height: 150px;
            border: 1px #ccc solid;
        }

        .img_each_contaner img {
            width: 100%;
            height: 100%;
        }

        .img_each_contaner:hover .mask,
        .img_each_contaner:hover .back {
            display: block;
            cursor: pointer;
        }

        .back {
            position: relative;
            top: -100%;
            width: 100%;
            height: 100%;
            text-align: center;
        }



        .back .one {
            width: 100%;
            height: 30px;
            line-height: 30px;
            background-color: black;
            opacity: 0.6;
            position: absolute;
            bottom: 0;
            text-align: right;
            padding-right: 10px;
            color: white;
        }

        .back .one span {
            padding: 0px 4px;
            color: white;
        }
    </style>
</head>

<body class="">


    <div v-cloak class="clearfix" id="app">


        <m-card v-for="part in dataList" :card-id="part.id" :key="part.id" class="card_each clearfix" title="基本信息">

            <div slot="header-right">
                <a @click="up(part.order)">上移</a>
                <a>下移</a>
                <a>暂删</a>
                <a>删除</a>
            </div>


            <div class="body-inner">
                <div class="kindeditor_wrap">
                    <textarea name="content" :area-id="part.id" class="kindeditor_textarea" v-model="part.content"></textarea>
                </div>
                <div class="pic_wrap clearfix" title="图片">
                    <div class="img_each_contaner_wrap">
                        <div class="img_each_contaner">
                            <img :src="part.imgUrlOne" alt="">
                            <div class="back">
                                <div class="one">
                                    <span>选图</span>
                                    <span>写图</span>
                                    <span>清空</span>
                                </div>
                            </div>
                        </div>
                        <div class="img_each_contaner mt_10">
                            <img :src="part.imgUrlTwo" alt="">
                            <div class="back">
                                <div class="one">
                                    <span>选图</span>
                                    <span>写图</span>
                                    <span>清空</span>
                                </div>
                            </div>
                        </div>
                        <div class="img_each_contaner mt_10">
                            <img :src="part.imgUrlThree" alt="">
                            <div class="back">
                                <div class="one">
                                    <span>选图</span>
                                    <span>写图</span>
                                    <span>清空</span>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="pic_tools_wrap"></div>
                </div>
            </div>
        </m-card>


        <div class="mt_20">
            <el-button @click="submitFun" type="success">成功按钮</el-button>
            <el-button @click="addPart" type="default">新增</el-button>
        </div>






    </div>




    <script>
        seajs.use('./08_artPartEdit.js');
    </script>






</body>

</html>